Skip to main content

Category

When you want to display a campaign on your category page, choose the urlType.CATEGORY interface
Then you have to fill the category attributes:

beyable.page.setAttributes({
urlType: EPageUrlType.CATEGORY,
pageReferrer: document.referrer,
url: "",
categoryPage: {
categoryId: "SportShoes123",
categoryName: "Running",
tags: ["running", "shoes", "sport"],
},
});

categoryPage attributes details#

attributestypeactions
categoryId
stringfill categoryId value to link trigger on specific category id
categoryName
stringfill categoryName value to link trigger on specific category name
tags
string[]fill tags values to link trigger on it